package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class EstateProjectActivityGoodsOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public EstateProjectActivityGoodsOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public EstateProjectActivityGoodsOrderExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public EstateProjectActivityGoodsOrderExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        EstateProjectActivityGoodsOrderExample example = new EstateProjectActivityGoodsOrderExample();
        return example.createCriteria();
    }

    public EstateProjectActivityGoodsOrderExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public EstateProjectActivityGoodsOrderExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public EstateProjectActivityGoodsOrderExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityGoodsOrderExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityGoodsOrderExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("estateprojectactivitygoodsorder.OrderId is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.OrderId is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OrderId =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OrderId <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OrderId >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OrderId >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OrderId <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OrderId <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorder.OrderId in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorder.OrderId not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorder.OrderId between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorder.OrderId not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("estateprojectactivitygoodsorder.OrderNo is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.OrderNo is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderNo = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderNo <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderNo > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderNo >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderNo < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OrderNo <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.OrderNo not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNull() {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice is null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice =", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.TotalPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice <>", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.TotalPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThan(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice >", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.TotalPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice >=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.TotalPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThan(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice <", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.TotalPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice <=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.TotalPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTotalPriceIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice not in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivitygoodsorder.TotalPrice not between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIsNull() {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime is null");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime =", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime <>", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime >", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime >=", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime <", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime <=", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime in", values, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime not in", values, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime between", value1, value2, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorder.PaymentTime not between", value1, value2, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andRealPriceIsNull() {
            addCriterion("estateprojectactivitygoodsorder.RealPrice is null");
            return (Criteria) this;
        }

        public Criteria andRealPriceIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.RealPrice is not null");
            return (Criteria) this;
        }

        public Criteria andRealPriceEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.RealPrice =", value, "realPrice");
            return (Criteria) this;
        }

        public Criteria andRealPriceEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.RealPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRealPriceNotEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.RealPrice <>", value, "realPrice");
            return (Criteria) this;
        }

        public Criteria andRealPriceNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.RealPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRealPriceGreaterThan(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.RealPrice >", value, "realPrice");
            return (Criteria) this;
        }

        public Criteria andRealPriceGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.RealPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRealPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.RealPrice >=", value, "realPrice");
            return (Criteria) this;
        }

        public Criteria andRealPriceGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.RealPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRealPriceLessThan(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.RealPrice <", value, "realPrice");
            return (Criteria) this;
        }

        public Criteria andRealPriceLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.RealPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRealPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorder.RealPrice <=", value, "realPrice");
            return (Criteria) this;
        }

        public Criteria andRealPriceLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.RealPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRealPriceIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivitygoodsorder.RealPrice in", values, "realPrice");
            return (Criteria) this;
        }

        public Criteria andRealPriceNotIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivitygoodsorder.RealPrice not in", values, "realPrice");
            return (Criteria) this;
        }

        public Criteria andRealPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivitygoodsorder.RealPrice between", value1, value2, "realPrice");
            return (Criteria) this;
        }

        public Criteria andRealPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivitygoodsorder.RealPrice not between", value1, value2, "realPrice");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdIsNull() {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId is null");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId is not null");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId =", value, "operationUserId");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OperationUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperationUserIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId <>", value, "operationUserId");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OperationUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperationUserIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId >", value, "operationUserId");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OperationUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperationUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId >=", value, "operationUserId");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OperationUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperationUserIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId <", value, "operationUserId");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OperationUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperationUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId <=", value, "operationUserId");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.OperationUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperationUserIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId in", values, "operationUserId");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId not in", values, "operationUserId");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId between", value1, value2, "operationUserId");
            return (Criteria) this;
        }

        public Criteria andOperationUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorder.OperationUserId not between", value1, value2, "operationUserId");
            return (Criteria) this;
        }

        public Criteria andCouponCodeIsNull() {
            addCriterion("estateprojectactivitygoodsorder.CouponCode is null");
            return (Criteria) this;
        }

        public Criteria andCouponCodeIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.CouponCode is not null");
            return (Criteria) this;
        }

        public Criteria andCouponCodeEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode =", value, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CouponCode = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCouponCodeNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode <>", value, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CouponCode <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCouponCodeGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode >", value, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CouponCode > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCouponCodeGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode >=", value, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CouponCode >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCouponCodeLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode <", value, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CouponCode < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCouponCodeLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode <=", value, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CouponCode <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCouponCodeLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode like", value, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode not like", value, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode in", values, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode not in", values, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode between", value1, value2, "couponCode");
            return (Criteria) this;
        }

        public Criteria andCouponCodeNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.CouponCode not between", value1, value2, "couponCode");
            return (Criteria) this;
        }

        public Criteria andPaymentImageIsNull() {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage is null");
            return (Criteria) this;
        }

        public Criteria andPaymentImageIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentImageEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage =", value, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentImage = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentImageNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage <>", value, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentImage <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentImageGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage >", value, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentImage > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentImageGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage >=", value, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentImage >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentImageLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage <", value, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentImage < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentImageLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage <=", value, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.PaymentImage <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentImageLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage like", value, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage not like", value, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage in", values, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage not in", values, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage between", value1, value2, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andPaymentImageNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.PaymentImage not between", value1, value2, "paymentImage");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("estateprojectactivitygoodsorder.`Status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.`Status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.`Status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`Status` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.`Status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`Status` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.`Status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`Status` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.`Status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`Status` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.`Status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`Status` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorder.`Status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`Status` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorder.`Status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorder.`Status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorder.`Status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorder.`Status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("estateprojectactivitygoodsorder.Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Remark = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Remark <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Remark > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Remark >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Remark < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Remark <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("estateprojectactivitygoodsorder.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorder.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorder.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("estateprojectactivitygoodsorder.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorder.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("estateprojectactivitygoodsorder.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorder.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodsorder.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodsorder.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodsorder.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodsorder.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("estateprojectactivitygoodsorder.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodsorder.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodsorder.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorder.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorder.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorder.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorder.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorder.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsOrder.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorder.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorder.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private EstateProjectActivityGoodsOrderExample example;

        protected Criteria(EstateProjectActivityGoodsOrderExample example) {
            super();
            this.example = example;
        }

        public EstateProjectActivityGoodsOrderExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(EstateProjectActivityGoodsOrder.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(EstateProjectActivityGoodsOrder.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.EstateProjectActivityGoodsOrderExample example);
    }
}